package com.jakewharton.rxbinding4.component;

import static com.jakewharton.rxbinding4.internal.Preconditions.checkNotNull;

import io.reactivex.rxjava3.annotations.CheckReturnValue;
import io.reactivex.rxjava3.annotations.NonNull;
import io.reactivex.rxjava3.core.Observable;
import ohos.agp.components.DatePicker;

public final class RxDatePicker {
    @CheckReturnValue
    @NonNull
    public static Observable<DatePickerValueChangedEvent> valueChanged(@NonNull DatePicker view) {
        checkNotNull(view, "view == null");
        return new DatePickerValueChangedObservable(view);
    }

    private RxDatePicker() {
        throw new AssertionError("No instances.");
    }
}
